#-------------------------------------------------
#
# Project created by QtCreator 2014-03-21T00:08:23
#
#-------------------------------------------------

QT       += core

QT       -= gui

TARGET = CameraCapture
CONFIG   += console
CONFIG   -= app_bundle

TEMPLATE = app

INCLUDEPATH += /home/mission/OpenSource/ffmpeg-2.0.4
FFMPEG_LIBRARY_PATH = /home/mission/OpenSource/ffmpeg-2.0.4


SOURCES += main.cpp \
    log.cpp \
    memory.cpp \
    global.cpp \
    cdevicectrl.cpp \
    JPEGSamples.cpp \
    CStreamer.cpp \
    CRtspSession.cpp

HEADERS += \
    log.h \
    memory.h \
    global.h \
    cdevicectrl.h \
    JPEGSamples.h \
    CStreamer.h \
    CRtspSession.h \
    global_include.h

LIBS += $$FFMPEG_LIBRARY_PATH/libavformat/libavformat.a\
        $$FFMPEG_LIBRARY_PATH/libavcodec/libavcodec.a\
        $$FFMPEG_LIBRARY_PATH/libavutil/libavutil.a\
        $$FFMPEG_LIBRARY_PATH/libswscale/libswscale.a\
        $$FFMPEG_LIBRARY_PATH/libswresample/libswresample.a\
        $$FFMPEG_LIBRARY_PATH/libavfilter/libavfilter.a\
        /usr/local/lib/libxvidcore.a\
        /usr/local/lib/libz.a

LIBS += -lv4l2\
        -lasound\
        -lx264
